﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PPARAttachmentTab.aspx.cs"
    Inherits="PPAP.Web.Part.PPARAttachmentTab" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <style type="text/css">
        .button1
        {
            background: transparent url(../images/newimg/esc_bg.png) no-repeat scroll 0 0;
            width: 102px;
            height: 23px;
            border: none;
            color: White;
            font-weight: bold;
            cursor: pointer;
            margin: 0 0 0 0;
        }
        </style>
    <script language="javascript">
        function del(id) {
            if (id > 0) {
                if (confirm('Please confirm to delete the file.')) {
                    url = "PPARAttachmentTab.aspx?deid=" + id;
                    window.location.href = url;
                }
            }
        }
        function check() {
            var rbtYes = document.getElementById("rbtYes");
            var rbtNo = document.getElementById("rbtNo");
            if (!rbtYes.checked && !rbtNo.checked) {
                alert("please select 'Are all delivered parts fulfilling the Chinese regulations and laws and requirements of the BDNT specifications ?'");
                return false;
            }
            return confirm('Are you sure you want to submit?');
        }
    </script>
</head>
<body style="font-family: Arial, Helvetica, sans-serif; overflow-x: hidden;">
    <form id="form1" runat="server">
    <div>
        <table width="100%">
            <tr>
               
                <td align="left" style="font-weight: bold; color: #2E8AC5;">
                    Submission level:
                    <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
                        OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" 
                        Enabled="False">
                        <asp:ListItem Value="1">Level 1</asp:ListItem>
                        <asp:ListItem Value="2">Level 2</asp:ListItem>
                        <asp:ListItem Value="3" Selected="True">Level 3</asp:ListItem>
                    </asp:DropDownList>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Label ID="lblApp" runat="server" Text="Inapplicable"></asp:Label>
                
                </td>
            </tr>
        </table>
        <div style="color:Black; font-weight:bold; font-size:larger; margin-top:15px; margin-bottom:15px;">
        &nbsp;&nbsp;All submitted attachments must be in English.
        </div>
        <table width="100%">
            <tr style="color: #000000; background-color: #E7E8E8; font-weight: bold; font-size: 25px;
                height: 28px;">
                <td style="width: 4%;">
                </td>
                <td style="width: 4%;">
                    No.
                </td>
                <td style="width: 25%;">
                    Attach.type
                </td>
                <td>Template</td>
                <td style="width: 4%;">
                </td>
                <td style="width: 4%;">
                    No.
                </td>
                <td style="width: 25%;">
                    Attach.type
                </td>
                <td>Template</td>
                <td style="width: 4%;">
                </td>
                <td style="width: 4%;">
                    No.
                </td>
                <td style="width: 25%;">
                    Attach.type
                </td>
                <td>Template</td>
            </tr>
            <tr style="height:28px;" runat="server" id="tr1" visible="false" >
                <td>
                    <asp:Image ID="img1" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    &nbsp;<asp:Label 
                        ID="lbnum1" runat="server" Text="1" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType1" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb1" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img2" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    <asp:Label ID="lbnum2" runat="server" Text="2" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType2" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb2" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img3" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    <asp:Label ID="lbnum3" runat="server" Text="3" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType3" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb3" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr style="background: #F2F2F2; height:28px;  " runat="server" id="tr2" visible="false" >
                <td>
                    <asp:Image ID="img4" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    <asp:Label ID="lbnum4" runat="server" Text="4" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType4" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb4" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img5" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    <asp:Label ID="lbnum5" runat="server" Text="5" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType5" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb5" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img6" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    <asp:Label ID="lbnum6" runat="server" Text="6" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType6" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb6" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr style="height:28px;"  runat="server" id="tr3" visible="false" >
                <td>
                    <asp:Image ID="img7" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    <asp:Label ID="lbnum7" runat="server" Text="7" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType7" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb7" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img8" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    <asp:Label ID="lbnum8" runat="server" Text="8" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType8" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb8" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img9" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    <asp:Label ID="lbnum9" runat="server" Text="9" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType9" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb9" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr style="background: #F2F2F2; height:28px;" runat="server" id="tr4" visible="false" >
                <td>
                    <asp:Image ID="img10" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    <asp:Label ID="lbnum10" runat="server" Text="10" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType10" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb10" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img11" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    <asp:Label ID="lbnum11" runat="server" Text="11" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType11" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb11" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img12" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    <asp:Label ID="lbnum12" runat="server" Text="12" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType12" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb12" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr style="height:28px;" runat="server" id="tr5" visible="false"  >
                <td>
                    <asp:Image ID="img13" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    <asp:Label ID="lbnum13" runat="server" Text="13" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType13" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb13" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img14" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    &nbsp;<asp:Label ID="lbnum14" runat="server" Text="14" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType14" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb14" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img15" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    <asp:Label ID="lbnum15" runat="server" Text="15" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType15" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb15" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr style="background: #F2F2F2; height:28px; " runat="server" id="tr6" visible="false" >
                <td>
                    <asp:Image ID="img16" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    <asp:Label ID="lbnum16" runat="server" Text="16" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType16" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb16" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img17" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    <asp:Label ID="lbnum17" runat="server" Text="17" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType17" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb17" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img18" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum18" runat="server" Text="18" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType18" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb18" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                    </td>
            </tr>
            <tr  style="height:28px;"  runat="server" id="tr7" visible="false" >
                <td>
                    <asp:Image ID="img19" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum19" runat="server" Text="19" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType19" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb19" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                    </td>
                <td>
                    <asp:Image ID="img20" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum20" runat="server" Text="20" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType20" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb20" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                    </td>
                <td>
                    <asp:Image ID="img21" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center">
                    <asp:Label ID="lbnum21" runat="server" Text="21" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType21" runat="server" Text="Label" Visible="False"></asp:Label>
                </td>
                 <td>
                     <asp:LinkButton ID="lb21" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr style="background: #F2F2F2; height:28px " runat="server" id="tr8" visible="false" >
                <td>
                    <asp:Image ID="img22" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum22" runat="server" Text="22" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType22" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb22" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                    </td>
                <td>
                    <asp:Image ID="img23" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum23" runat="server" Text="23" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType23" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb23" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img24" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum24" runat="server" Text="24" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType24" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb24" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                    </td>
            </tr>
            <tr  style="height:28px;" runat="server" id="tr9" visible="false" >
                <td>
                    <asp:Image ID="img25" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum25" runat="server" Text="25" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType25" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb25" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img26" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum26" runat="server" Text="26" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType26" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb26" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                    </td>
                <td>
                    <asp:Image ID="img27" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum27" runat="server" Text="27" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType27" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb27" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr style="background: #F2F2F2; height:28px; " runat="server" id="tr10" visible="false" >
                <td>
                    <asp:Image ID="img28" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum28" runat="server" Text="28" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType28" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb28" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                    </td>
                <td>
                    <asp:Image ID="img29" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    &nbsp;<asp:Label ID="lbnum29" runat="server" Text="29" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType29" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb29" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                    </td>
                <td>
                    <asp:Image ID="img30" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum30" runat="server" Text="30" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType30" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb30" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr  style="height:28px;" runat="server" id="tr11" visible="false" >
                <td>
                    <asp:Image ID="img31" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum31" runat="server" Text="31" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType31" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb31" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img32" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum32" runat="server" Text="32" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType32" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb32" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img33" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum33" runat="server" Text="33" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType33" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb33" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr style="background: #F2F2F2; height:28px; " runat="server" id="tr12" visible="false" >
                <td >
                    <asp:Image ID="img34" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center" >
                    <asp:Label ID="lbnum34" runat="server" Text="34" Visible="False"></asp:Label>
                </td>
                <td >
                    <asp:Label ID="lblType34" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td >
                     <asp:LinkButton ID="lb34" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td >
                    <asp:Image ID="img35" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center" >
                    <asp:Label ID="lbnum35" runat="server" Text="35" Visible="False"></asp:Label>
                </td>
                <td >
                    <asp:Label ID="lblType35" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td >
                     <asp:LinkButton ID="lb35" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td >
                    <asp:Image ID="img36" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center" >
                    <asp:Label ID="lbnum36" runat="server" Text="36" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType36" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td >
                     <asp:LinkButton ID="lb36" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr style="height:28px;" runat="server" id="tr13" visible="false"  >
                <td  >
                    <asp:Image ID="img37" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                </td>
                <td align="center"  >
                    <asp:Label ID="lbnum37" runat="server" Text="37" Visible="False"></asp:Label>
                </td>
                <td  >
                    <asp:Label ID="lblType37" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td  >
                     <asp:LinkButton ID="lb37" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td  >
                    <asp:Image ID="img38" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center"  >
                    <asp:Label ID="lbnum38" runat="server" Text="38" Visible="False"></asp:Label>
                </td>
                <td  >
                    <asp:Label ID="lblType38" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td  >
                     <asp:LinkButton ID="lb38" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td  >
                    <asp:Image ID="img39" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center"  >
                    <asp:Label ID="lbnum39" runat="server" Text="39" Visible="False"></asp:Label>
                </td>
                <td  >
                    <asp:Label ID="lblType39" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td >
                     <asp:LinkButton ID="lb39" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr style="background: #F2F2F2; height:28px; "  runat="server" id="tr14" visible="false" >
                <td>
                    <asp:Image ID="img40" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum40" runat="server" Text="40" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType40" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb40" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img41" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum41" runat="server" Text="41" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType41" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb41" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img42" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum42" runat="server" Text="42" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType42" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb42" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr style="height:28px;" runat="server" id="tr15" visible="false"  >
                <td>
                    <asp:Image ID="img43" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum43" runat="server" Text="43" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType43" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb43" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img44" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum44" runat="server" Text="44" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType44" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb44" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img45" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum45" runat="server" Text="45" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType45" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb45" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr style="background: #F2F2F2; height:28px; " runat="server" id="tr16" visible="false" >
                <td>
                    <asp:Image ID="img46" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum46" runat="server" Text="46" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType46" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb46" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                     </td>
                <td>
                    <asp:Image ID="img47" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum47" runat="server" Text="47" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType47" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb47" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img48" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum48" runat="server" Text="48" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType48" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb48" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr style="height:28px;" runat="server" id="tr17" visible="false"  >
                <td>
                    <asp:Image ID="img49" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum49" runat="server" Text="49" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType49" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb49" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img50" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum50" runat="server" Text="50" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType50" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb50" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img51" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum51" runat="server" Text="51" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType51" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb51" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr style="background: #F2F2F2; height:28px; " runat="server" id="tr18" visible="false" >
                <td>
                    <asp:Image ID="img52" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum52" runat="server" Text="52" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType52" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb52" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                     </td>
                <td>
                    <asp:Image ID="img53" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum53" runat="server" Text="53" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType53" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb53" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img54" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum54" runat="server" Text="54" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType54" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb54" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr  style="height:28px;" runat="server" id="tr19" visible="false" >
                <td>
                    <asp:Image ID="img55" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum55" runat="server" Text="55" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType55" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb55" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img56" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum56" runat="server" Text="56" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType56" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb56" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img57" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum57" runat="server" Text="57" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType57" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb57" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
            <tr style="background: #F2F2F2; height:28px; " runat="server" id="tr20" visible="false" >
                <td>
                    <asp:Image ID="img58" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum58" runat="server" Text="58" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType58" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb58" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                     </td>
                <td>
                    <asp:Image ID="img59" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum59" runat="server" Text="59" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType59" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb59" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
                <td>
                    <asp:Image ID="img60" runat="server" ImageUrl="~/Part/image/1.png" 
                        Visible="False" />
                    </td>
                <td align="center">
                    <asp:Label ID="lbnum60" runat="server" Text="60" Visible="False"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblType60" runat="server" Text="Label" Visible="False"></asp:Label>
                     </td>
                 <td>
                     <asp:LinkButton ID="lb60" runat="server" onclick="lb1_Click" Visible="False"></asp:LinkButton>
                </td>
            </tr>
        </table>
        <table width="100%">
            <tr>
                <td colspan="2" style="height: 28px;">
                    Are all delivered parts fulfilling the Chinese regulations and laws and requirements of the BDNT specifications ?<font color="red">*</font>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:RadioButton ID="rbtYes" runat="server" GroupName="a" Text="Yes" 
                        AutoPostBack="True" oncheckedchanged="rbtYes_CheckedChanged" />
                    &nbsp;
                    <asp:RadioButton ID="rbtNo" runat="server" GroupName="a" Text="No" 
                        AutoPostBack="True" oncheckedchanged="rbtYes_CheckedChanged" />
                    </td>
            </tr>
            <tr runat="server" id="specify">
            <td colspan="2">Specify your deviation(s):<asp:TextBox autocomplete="off"   ID="txtSpecify" 
                    runat="server" Height="50px"  TextMode="MultiLine"  style="word-wrap : break-word;word-break: break-all; overflow:hidden; " Width="90%" 
                    AutoPostBack="True" ontextchanged="txtSpecify_TextChanged"></asp:TextBox>
                <font color="red">*</font>
                &nbsp;&nbsp;</td>
            </tr>
            <tr>
                <td style="font-weight: bold; color: #2E8AC5;">
                    Uploaded by supplier
                </td>
                <td align="right" runat="server" id="td1">
                    <input type="button" class="button" onclick="javascript:PopUpWindow('../todolist/default.aspx?RID=<%=RID %>&FJID=<%=FJRID %>&filetype=Attachment', 230, 260, 730, 200);"
                        value="Add" />
                </td>
            </tr>
            <tr style="display: none;">
                <td colspan="2">
                    <asp:DropDownList ID="ddlType" runat="server">
                    </asp:DropDownList>
                    &nbsp;
                    <asp:FileUpload ID="file" runat="server" />
                    &nbsp;
                    <asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" />
                </td>
            </tr>
        </table>
        <asp:GridView ID="GridView1" runat="server" CellPadding="4" Width="100%" GridLines="None" 
            AutoGenerateColumns="False">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:TemplateField HeaderText="No." HeaderStyle-Font-Size="12px"  ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="5%">
                    <ItemTemplate>
                        <asp:Label ID="Label1" runat="server" Text='<%# Eval("rownum") %>'></asp:Label>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left"></ItemStyle>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Attach.type" HeaderStyle-Font-Size="12px"   ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="20%">
                    <ItemTemplate>
                        <asp:Label ID="Label2" runat="server" Text='<%# ShowAccachmenttype(Eval("sx").ToString(),Eval("ATTACHMENTTYPE").ToString()) %>'></asp:Label>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left"></ItemStyle>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="File name" HeaderStyle-Font-Size="12px"   ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="30%">
                    <ItemTemplate>
                        <a href='<%# GetLink(Eval("F_URL").ToString()) %>' style="display: none;" target="_blank">
                            <span style="color: Blue;">
                                <%# Eval("F_Filename")%></span> </a>
                        <asp:LinkButton ID="LinkButton2" Visible="true" Text='<%# Eval("F_URL").ToString().Length>14?Eval("F_URL").ToString().Substring(14,Eval("F_URL").ToString().Length-14):Eval("F_URL") %>' ToolTip='<%# Eval("F_URL") %>' runat="server"
                            OnClick="LinkButton2_Click"><%# Eval("F_Filename")%></asp:LinkButton>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left"></ItemStyle>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Size" HeaderStyle-Font-Size="12px"   ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="10%">
                    <ItemTemplate>
                        <asp:Label ID="Label7" runat="server" Text='<%# Eval("filesize") %>'></asp:Label>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left"></ItemStyle>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Create date" HeaderStyle-Font-Size="12px"   ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="10%">
                    <ItemTemplate>
                        <asp:Label ID="Label5" runat="server" Text='<%#Eval("UpTime").ToString()==""?"":DateTime.Parse(Eval("UpTime").ToString()).ToString("yyyy-MM-dd")  %>'></asp:Label>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left"></ItemStyle>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Create by" HeaderStyle-Font-Size="12px"   ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="15%">
                    <ItemTemplate>
                        <asp:Label ID="Label4" runat="server" Text='<%# Eval("UpBy") %>'></asp:Label>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left"></ItemStyle>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Delete" HeaderStyle-Font-Size="12px"   ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="10%">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" Visible='<%#Eval("F_ID").ToString()==""?false:false %>'
                            runat="server" OnClientClick="return confirm('Please confirm to delete the file.')"
                            PostBackUrl='<%# "PPARAttachmentTab.aspx?deid="+Eval("F_ID") %>'>Delete</asp:LinkButton>
                        <img src="../Images/newimg/delete.png" title="Delete" onclick="<%#"javascript:del("+Eval("F_ID")+")" %>" />
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left"></ItemStyle>
                </asp:TemplateField>
            </Columns>
            <EditRowStyle BackColor="#2E8AC5" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#E7E8E8" Font-Bold="True" ForeColor="#000000" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Left" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
        <table width="100%" runat="server" id="ta1">
            <tr>
                <td style="font-weight: bold; color: #2E8AC5;">
                    Uploaded by BDNT
                </td>
                <td align="right" runat="server" id="td2">
                    <input type="button" class="button" onclick="javascript:PopUpWindow('UploadFile.aspx?RID=<%=RID %>&FJID=<%=QEFJID %>&filetype=Attachment', 230, 160, 730, 420);"
                        value="Add" />
                </td>
            </tr>
            <tr style="display: none;">
                <td colspan="2">
                    <asp:DropDownList ID="DropDownList2" runat="server">
                    </asp:DropDownList>
                    &nbsp;
                    <asp:FileUpload ID="FileUpload1" runat="server" />
                    &nbsp;
                    <asp:Button ID="Button1" runat="server" Text="Upload" OnClick="btnUpload_Click" />
                </td>
            </tr>
        </table>
        <asp:GridView ID="GridView2" runat="server" CellPadding="4" Width="100%" ForeColor="#333333"
            GridLines="None" AutoGenerateColumns="False">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:TemplateField HeaderText="No." HeaderStyle-Font-Size="12px"   ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="5%">
                    <ItemTemplate>
                        <asp:Label ID="Label1" runat="server" Text='<%# Eval("rownum") %>'></asp:Label>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left"></ItemStyle>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Attach.type" HeaderStyle-Font-Size="12px"   ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="20%">
                    <ItemTemplate>
                        <asp:Label ID="Label2" runat="server" Text='<%# ShowAccachmenttype(Eval("sx").ToString(),Eval("ATTACHMENTTYPE").ToString()) %>'></asp:Label>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left"></ItemStyle>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="File name" HeaderStyle-Font-Size="12px"   ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="30%">
                    <ItemTemplate>
                        <a href='<%# GetLink(Eval("F_URL").ToString()) %>' style="display: none;" target="_blank">
                            <span style="color: Blue;">
                                <%# Eval("F_Filename")%></span> </a>
                        <asp:LinkButton ID="LinkButton3" Text='<%# Eval("F_URL").ToString().Length>14?Eval("F_URL").ToString().Substring(14,Eval("F_URL").ToString().Length-14):Eval("F_URL") %>'  ToolTip='<%# Eval("F_URL") %>' Visible="true" runat="server"
                            OnClick="LinkButton2_Click"><%# Eval("F_Filename")%></asp:LinkButton>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left"></ItemStyle>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Size" HeaderStyle-Font-Size="12px"   ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="10%">
                    <ItemTemplate>
                        <asp:Label ID="Label7" runat="server" Text='<%# Eval("filesize") %>'></asp:Label>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left"></ItemStyle>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Create date" HeaderStyle-Font-Size="12px"   ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="10%">
                    <ItemTemplate>
                        <asp:Label ID="Label5" runat="server" Text='<%#Eval("UpTime").ToString()==""?"":DateTime.Parse(Eval("UpTime").ToString()).ToString("yyyy-MM-dd")  %>'></asp:Label>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left"></ItemStyle>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Create by" HeaderStyle-Font-Size="12px"   ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="15%">
                    <ItemTemplate>
                        <asp:Label ID="Label4" runat="server" Text='<%# Eval("UpBy") %>'></asp:Label>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left"></ItemStyle>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Delete" HeaderStyle-Font-Size="12px"   ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="10%">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" Visible='<%#Eval("F_ID").ToString()==""?false:false %>'
                            runat="server" OnClientClick="return confirm('Please confirm to delete the file.')"
                            PostBackUrl='<%# "PPARAttachmentTab.aspx?deid="+Eval("F_ID") %>'>Delete</asp:LinkButton>
                        <img src="../Images/newimg/delete.png" title="Delete" onclick="<%#"javascript:del("+Eval("F_ID")+")" %>" />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <EditRowStyle BackColor="#2E8AC5" />
            <FooterStyle BackColor="#507CD1" ForeColor="White" />
            <HeaderStyle BackColor="#E7E8E8" ForeColor="#000000" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Left" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
        <hr />
        <table width="100%">
            <tr>
                <td align="center">
                    <asp:Button ID="btnSubmit" runat="server" CssClass="button" OnClick="btnSubmit_Click"
                        OnClientClick="return check();" Text="Submit" />
                    <br />
                    <br />
                    <asp:Label ID="lblErrMessage" runat="server" ForeColor="Red"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
